package com.prs.crm.service.oa;

import java.io.File;
import java.util.Collection;
import java.util.Date;

import org.jfree.data.general.AbstractDataset;

import com.prs.crm.domain.oa.Knowledge;
import com.prs.crm.service.FlowService;

public interface KnowledgeService extends FlowService<Knowledge>{

	void save(Knowledge knowledge,File attach,String attachName);
	public Collection<Knowledge> getAllKnowledge();
	public Collection<Knowledge> getKnowledgeByIds(Integer[] ids);
	
	Collection<?> getReportKnowledgeSource(Date datestart, Date dateend);
	AbstractDataset fillDataset(Collection<?> dataList, int GraphicsType);
	
	
}
